﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EWC.HIS.Domain
{
    [Table("AppointmentRegistration")]
    public class AppointmentRegistration
    {
        public int Id { get; set; }

        /// <summary>
        /// 患者姓名
        /// </summary>
        [Required]
        [StringLength(50)]
        public string PatientName { get; set; }

        /// <summary>
        /// 预约时间
        /// </summary>
        [Required]
        public DateTime AppointmentTime { get; set; }

        /// <summary>
        /// 医疗状况
        /// </summary>
        [StringLength(200)]
        public string MedicalCondition { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        [Required]
        public DateTime CreationTime { get; set; }


        /// <summary>
        /// 是否删除
        /// </summary>
        [Required]
        public bool Deleted { get; set; }
    }
}
